package com.mdb.open.trade.domain.dto.product;

import com.alibaba.fastjson.JSONObject;
import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @author liuyi
 * @date 2019/06/20
 **/
@Data
public class SignDto extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    /**
     * AppID
     */
    @ApiModelProperty(value = "AppID")
    @NotBlank(message = "AppId不允许为空")
    private String appId;
    /**
     * 待验签对象
     */
    @ApiModelProperty(value = "待验签对象")
    @NotEmpty(message = "待签名对象不允许为空")
    private JSONObject jsonObject;

}